package com.hu.zhcc.shiro.controller.xsf;

import com.hu.zhcc.shiro.entity.lgx.TClinicDepartment;
import com.hu.zhcc.shiro.service.lgx.TClinicDepartmentService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

@RestController
@RequestMapping("/tClinicDepartment")
public class TClinicDepartmentController {
    @Autowired
    private TClinicDepartmentService tClinicDepartmentService;
    @GetMapping("")
    public List<TClinicDepartment> queryAllTClinicDepartment(){
        return tClinicDepartmentService.tclinicDepartmentList();
    }
}
